import { createBaseStore } from './base-store'
import { personApiClient } from '../apis/person-api.client'
import type { Person } from '../types/person'

export const usePersonStore = createBaseStore<Person>('person', personApiClient)